package lib;

import java.util.ArrayList;
import lib.ActorAddress;
import lib.SuperActor;

public class Launch{
	public static void main(String [] args) throws Exception{
		ArrayList<String> actors = new ArrayList<String>();
		if (args.length < 2) {
			System.out.println("Usage: java lib.Launch address packageName [className...]");
			System.exit(0);
		}
		
		String address = args[0];
		String packageName = args[1];
		for (int i = 2; i < args.length; i++) {
			actors.add(args[i]);
		}
		ActorAddress superActorAddress = new ActorAddress(address);
		SuperActor sa = new SuperActor(superActorAddress, packageName, actors, address);
	}
}
